package com.sinosoft.msf.base.supplier.pojo.entity;

import org.apache.ibatis.type.JdbcType;
import tk.mybatis.mapper.annotation.ColumnType;

import javax.persistence.*;
import java.util.Date;

@Table(name = "s_audit_record")
public class SAuditRecord {
    /**
     * 主键 id
     */
    @Id
    private String id;

    /**
     * 业务id
     */
    @Column(name = "buss_id")
    private String bussId;

    /**
     * 业务类型
     */
    @Column(name = "buss_type")
    private String bussType;

    /**
     * 审核类型
     */
    @Column(name = "audit_cat")
    private String auditCat;

    /**
     * 审核结论
     */
    @Column(name = "audit_result")
    private String auditResult;

    /**
     * 审核意见
     */
    @Column(name = "audit_remark")
    private String auditRemark;

    /**
     * 审核人
     */
    @Column(name = "audit_id")
    private String auditId;

    /**
     * 审核人姓名
     */
    @Column(name = "audit_name")
    private String auditName;

    /**
     * 审核时间
     */
    @Column(name = "audit_date")
    @ColumnType(jdbcType=JdbcType.TIMESTAMP)
    private Date auditDate;

    /**
     * 删除标记
     */
    private String deleted;

    /**
     * 创建人
     */
    @Column(name = "created_id")
    private String createdId;

    /**
     * 创建时间
     */
    @Column(name = "created_date")
    @ColumnType(jdbcType=JdbcType.TIMESTAMP)
    private Date createdDate;

    /**
     * 更新人
     */
    @Column(name = "update_id")
    private String updateId;

    /**
     * 更新时间
     */
    @Column(name = "update_date")
    @ColumnType(jdbcType=JdbcType.TIMESTAMP)
    private Date updateDate;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getBussId() {
        return bussId;
    }

    public void setBussId(String bussId) {
        this.bussId = bussId;
    }

    public String getBussType() {
        return bussType;
    }

    public void setBussType(String bussType) {
        this.bussType = bussType;
    }

    public String getAuditCat() {
        return auditCat;
    }

    public void setAuditCat(String auditCat) {
        this.auditCat = auditCat;
    }

    public String getAuditResult() {
        return auditResult;
    }

    public void setAuditResult(String auditResult) {
        this.auditResult = auditResult;
    }

    public String getAuditRemark() {
        return auditRemark;
    }

    public void setAuditRemark(String auditRemark) {
        this.auditRemark = auditRemark;
    }

    public String getAuditId() {
        return auditId;
    }

    public void setAuditId(String auditId) {
        this.auditId = auditId;
    }

    public String getAuditName() {
        return auditName;
    }

    public void setAuditName(String auditName) {
        this.auditName = auditName;
    }

    public Date getAuditDate() {
        return auditDate;
    }

    public void setAuditDate(Date auditDate) {
        this.auditDate = auditDate;
    }

    public String getDeleted() {
        return deleted;
    }

    public void setDeleted(String deleted) {
        this.deleted = deleted;
    }

    public String getCreatedId() {
        return createdId;
    }

    public void setCreatedId(String createdId) {
        this.createdId = createdId;
    }

    public Date getCreatedDate() {
        return createdDate;
    }

    public void setCreatedDate(Date createdDate) {
        this.createdDate = createdDate;
    }

    public String getUpdateId() {
        return updateId;
    }

    public void setUpdateId(String updateId) {
        this.updateId = updateId;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }
}